package com.yonyou.pmclouds.alter.rmiitf;

import com.yonyou.pmclouds.alter.entity.AlterListViewVO;
import com.yonyou.pmclouds.alter.entity.AlterVO;
import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.basecom.exception.BusinessException;

public interface AlterQuery {
    AlterListViewVO[] getAlterListInfo(String pkProject) throws BusinessException;
    AlterVO getById(String pkAlter) throws BusinessException;
    boolean queryRefByIds(String code, String[] ids) throws BusinessException;

    PageObject<Object> queryByCondition(String[] pkProjects,
                                         String[] creators,
                                         String startDate,
                                         String endDate,
                                         int[] billStatus,
                                         int pageStart,
                                         int pageSize) throws BusinessException;

    int countByCondition(String pkTenant,
                         String[] pkProjects,
                         String[] creators,
                         String startDate,
                         String endDate,
                         int[] billStatus) throws BusinessException;
}
